//
//  ChangeEmailSuccessViewController.swift
//  AESOLAR_IOS
//
//  Created by Mr.Wang on 2019/9/2.
//  Copyright © 2019 Mr.Wang. All rights reserved.
//

import UIKit

class ChangeEmailSuccessViewController: BaseUIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        self.navigationItem.title = "完成".localized
        
        let imageView = UIImageView().config
            .image(UIImage.init(named: "change_email_success"))
            .contentMode(.scaleAspectFit)
            .addTo(view)
            .makeConstraints { (make) in
                make.centerX.equalToSuperview()
                make.top.equalTo(80)
                make.height.width.equalTo(120)
        }.view
        
        UILabel().config
            .text("完成".localized)
            .textColor(.black)
            .font(.systemFont(ofSize: 15, weight: .medium))
            .addTo(view)
            .makeConstraints { (make) in
                make.centerX.equalToSuperview()
                make.top.equalTo(imageView.snp.bottom).offset(20)
        }
        
    }
    
    override func navigationBarStyle() -> NavigationBarStyle {
        return .baseColor
    }

}
